﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>《数码宝贝：圣十字军》</title>
    <meta name="viewport" content="width=480, user-scalable=no, target-densitydpi=device-dpi" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <!-- <link href="Assets/JqueryMoblie/jquery.mobile-1.4.4.css" rel="stylesheet" />
    <link rel="stylesheet" href="Assets/Css/comm.css?v=1158"> -->

    <script src="Assets/Scripts/jquery-1.10.1.min.js"></script>
    <!-- <script src="Assets/JqueryMoblie/jquery.mobile-1.4.4.min.js"></script> -->


</head>
<body>
   

    <script src="Assets/Scripts/weixinapi.js"></script>
    <script>
    WeixinApi.ready(function(Api) {
    // 微信分享的数据
    /*var wxData = {"appId": "","imgUrl": "http:\/\/wx.digicru.tyyouxi.com\/Assets\/Images\/Icon.png","link": "http:\/\/wx.digicru.tyyouxi.com\/MainPages.html","title": "真日本双飞!<数码宝贝>唯一正版手游今日上线送IP6","desc": "" };
    var wxData2 = {"appId": "","imgUrl": "http:\/\/wx.digicru.tyyouxi.com\/Assets\/Images\/Icon.png","link": "http:\/\/wx.digicru.tyyouxi.com\/MainPages.html","title": "真日本双飞!<数码宝贝>唯一正版手游今日上线送IP6","desc": "" };*/
    var wxData = {"appId":"","imgUrl":"http:\/\/ufirefly.com\/app\/Assets\/Images\/a_logo.png","link":"http:\/\/ufirefly.com\/app","title":"丽舍-SOLOTOWN","desc":"总价35万在虹口中环内安个家，微信号:solotown299"};
    var wxData2 = {"appId":"","imgUrl":"http:\/\/ufirefly.com\/app\/Assets\/Images\/a_logo.png","link":"http:\/\/ufirefly.com\/app","title":"丽舍-SOLOTOWN","desc":"总价35万在虹口中环内安个家，微信号:solotown299"};
    // 分享的回调
    var wxCallbacks = {
        // 分享操作开始之前
        ready : function(resp) {
            
        },
        // 分享被用户自动取消
        cancel : function(resp) {
            
        },
        // 分享失败了
        fail : function(resp) {
            
        },
        // 分享成功
        confirm : function(resp) {
            
        },
        // 整个分享过程结束
        all : function(resp) {
            
        }
    };
    // 点击分享到朋友圈，会执行下面这个代码
    Api.shareToFriend(wxData, wxCallbacks);
    Api.shareToWeibo(wxData, wxCallbacks);
    Api.shareToTimeline(wxData2, wxCallbacks);
    Api.showOptionMenu();
});
    </script>
    
    <script type="text/javascript">

        /*WeixinApi.ready(function (Api) {
            // 分享的回调
            var wxCallbacks = {
                // 分享过程需要异步执行
                async: true,
                // 分享操作开始之前
                ready: function () {
                    var self = this;

                    var wxData = { 
                            "appId": "","imgUrl": "http:\/\/wx.digicru.tyyouxi.com\/Assets\/Images\/Icon.png","link": "http:\/\/wx.digicru.tyyouxi.com\/MainPages.html","title": "真日本双飞!<数码宝贝>唯一正版手游今日上线送IP6","desc": "" 
                        };
                    
                    self.dataLoaded(wxData);
                },
                fail : function(resp) {
                    
                },
                confirm: function (resp) {
                    window.location.href="Prize.html"; 
                },
                all: function (resp) {

                }
            };

            Api.shareToFriend({}, wxCallbacks);
            Api.shareToWeibo({}, wxCallbacks);
            Api.shareToTimeline({}, wxCallbacks);
            Api.showOptionMenu();
        });*/

    </script>

</body>
</html>
